package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 servicenotice
 * 
 * @author ruoyi
 * @date 2024-09-21
 */
public class Servicenotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通知的ID号码 */
    private Long notificationId;

    /** 通知消息的具体内容 */
    @Excel(name = "通知消息的具体内容")
    private String message;

    /** 通知状态 */
    @Excel(name = "通知状态")
    private String status;

    /** 通知类型 */
    @Excel(name = "通知类型")
    private String type;

    /** 通知创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "通知创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setNotificationId(Long notificationId) 
    {
        this.notificationId = notificationId;
    }

    public Long getNotificationId() 
    {
        return notificationId;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("notificationId", getNotificationId())
            .append("message", getMessage())
            .append("status", getStatus())
            .append("type", getType())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
